package cn.yunhe.entity;

import java.util.Date;

public class News {
	private int n_id;
	private String n_title;
	private String n_context;
	private String n_picture;
	private Date n_date;
	private Admin admin;
	private Board board;
	
	public News() {
		
	}
	
	public News(String n_title, String n_context, String n_picture,
			Date n_date, Admin admin, Board board) {
		this.n_title = n_title;
		this.n_context = n_context;
		this.n_picture = n_picture;
		this.n_date = n_date;
		this.admin = admin;
		this.board = board;
	}

	public int getN_id() {
		return n_id;
	}
	public void setN_id(int n_id) {
		this.n_id = n_id;
	}
	public String getN_title() {
		return n_title;
	}
	public void setN_title(String n_title) {
		this.n_title = n_title;
	}
	public String getN_context() {
		return n_context;
	}
	public void setN_context(String n_context) {
		this.n_context = n_context;
	}
	public String getN_picture() {
		return n_picture;
	}
	public void setN_picture(String n_picture) {
		this.n_picture = n_picture;
	}
	public Date getN_date() {
		return n_date;
	}
	public void setN_date(Date n_date) {
		this.n_date = n_date;
	}
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	public Board getBoard() {
		return board;
	}
	public void setBoard(Board board) {
		this.board = board;
	}
	
	
	
}
